import { Pipe, PipeTransform } from '@angular/core';

@Pipe({
  name: 'sumPrice'
})
export class TokPipe implements PipeTransform {

  transform(value: number, ...args: unknown[]):number {
        return this.sumPrice(value);
      }
      sumPrice(value:number){
        return value+=value
      }}
